package com.ml.mall.service.catalogue;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ml.mall.bean.req.catalogue.*;
import com.ml.mall.bean.res.catalogue.SysCatalogueProductQueryAllRes;
import com.ml.mall.bean.res.product.SysProductShopPageRes;
import com.ml.mall.entity.catalogue.SysCatalogueProduct;

import java.util.List;

public interface SysCatalogueProductService extends IService<SysCatalogueProduct> {
    //实现收藏目录产品添加
    int sysCatalogueProductAdd(SysCatalogueProductAddDto dto);

    //实现收藏目录中产品信息的查询功能
    List<SysCatalogueProductQueryAllRes> sysCatalogueProductQueryAll();

    //收藏夹产品的信息查询
    List<SysProductShopPageRes> catalogueProductQueryList(CatalogueDto dto);

    //修改某个藏品的数量；藏品ID;图片；
    int editCatalogueVariant(SysCatalogueVariantEditDto dto);

    //从收藏夹中移除某个商品
    int delVariantFromCatelgogue(CatalogueDelVariantDto dto);

    //编辑收藏夹
    int editCatalogue(CatalogueEditDto dto);

    //编辑收藏夹名称
    int editCatalogueName(CatalogueNameEditDto dto);
}
